home *** CD-ROM | disk | FTP | other *** search
- /* */
- address 'Imagine.1'
-
- displayrexxptr on
-
- call addlib('rexxmathlib.library',0,-30,0)
- call addlib('rexxreqtools.library',0,-30,0)
-
- pi = 3.14159
-
- do i=0 to 5
-
- addaxis
- pick
-
- attrib.objectname = 'SP.'i
-
- x = 50 * cos(2 * pi * i / 3)
- y = 50 * sin(2 * pi * i / 3)
- z= 10 * i
- angle = 120 * i
-
- transform_position x y z
- transforma_alignment 0 0 angle
-
- setattributes objectname
-
- end
-
- addaxis
- unpick all
- groupmode
- /* make the path*/
-
- multipickon
- do i = 0 to 5
- pick 'SP.'i
- end
- multipickoff
-
- makepath
-
-
- displayrexxptr off
- exit